package org.jim.server.adapter;

import org.jim.core.ImChannelContext;
import org.jim.core.packets.Command;
import org.jim.core.packets.Message;

public class BaseMessageConverter implements MessageConverter{
    private Command cmd;
    @Override
    public boolean supports(byte[] body) {
        return false;
    }

    @Override
    public Message convert(byte[] body, ImChannelContext channelContext) {
        return null;
    }

    @Override
    public Command getCmd() {
        return cmd;
    }
    @Override
    public void setCmd(Command cmd) {
        this.cmd = cmd;
    }
}
